<?php 
/**
 * UCConfRedis.php Redis配置文件
 * @author 徐鹏程 <xupengcheng@snda.com> 2010-03-26
 * Copyright (c) 2010 sdo.com - Web Development Center
 */

class UCConfRedis {
	static public function getServer() {
		if (defined('__UC_ENV') && __UC_ENV == 'DEV') {
			return array("10.129.128.15", 6379);
		} else if (defined('__UC_ENV') && __UC_ENV == 'TEST') {
			return null;
		} else {
			return null;
		}
	}
}
